

/****** Object:  StoredProcedure [dbo].[SP_recUserRole_Update]    Script Date: 05/10/2014 08:31:08 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:		Beni Khaeroni (jhung.ben@gmail.com)
-- Create date: 09 Mei 2014 10:20 AM
-- Description:	
-- =============================================
CREATE PROCEDURE [dbo].[SP_recUserRole_Update]
(
	@UserRoleID						[int],
	@UserID						[int],
	@RoleID						[int],
	@CreatedDate						[datetime],
	@CreatedBy						[varchar](50)
)
AS UPDATE master.recUserRole
SET
		--UserRoleID			=	@UserRoleID,
		UserID			=	@UserID,
		RoleID			=	@RoleID,
		CreatedDate			=	@CreatedDate,
		CreatedBy			=	@CreatedBy
WHERE
(
	 [UserRoleID]	 = @UserRoleID
)
GO


